package hsintiao.com.xintiaoAPP.service;


import hsintiao.com.xintiaoAPP.entity.vo.ArticlePageVO;
import hsintiao.com.xintiaoAPP.util.AjaxResult;

public interface ArticleService {

    AjaxResult allArticle();//获取文章列表
    AjaxResult getArticleByType(Long typeId);//根据类型id获取相关的文章列表

    AjaxResult getOneById(Long id);//根据id获取单个文章信息

    AjaxResult searchByKeyword(String keyword);

    AjaxResult getAllByTypeForPage(ArticlePageVO pageVO);
}
